package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.AgentDeliveryAddress;
import com.weixing.mall.provider.model.query.DeliveryQuery;
import com.weixing.mall.provider.model.vo.AgentDeliveryAddressVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 会员模块-收货地址表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2020-05-07
 */
public interface AgentDeliveryAddressMapper extends BaseMapper<AgentDeliveryAddress> {

    IPage<AgentDeliveryAddressVo> selectOfPage(@Param("pg") Page initMpPage, @Param("qs") DeliveryQuery query);

    List<AgentDeliveryAddress> selectByArea(int start ,int end);
}
